body {
  background: #ffffff;
  color: #d5d6e2;
  font-weight: 500;
  font-size: 1.05em;
  font-family: "Microsoft YaHei", "宋体", "Segoe UI", "Lucida Grande", Helvetica,
    Arial, sans-serif, FreeSans, Arimo;
}
#gallery-wrapper {
  position: relative;
  max-width: 100%;
  width: 100%;
  margin: 50px auto;
}

img.thumb {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.white-panel {
  position: absolute;
  background: white;
  border-radius: 5px;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
  padding: 10px;
}

.white-panel h1 {
  font-size: 1em;
}

.white-panel h1 a {
  color: #a92733;
}

.white-panel:hover {
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
  margin-top: -5px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.nav {
  background-color: #eee;
  border-bottom: 1px solid #ccc;
}

.nav a {
  display: block;
  height: 50px;
  line-height: 50px;
  padding-left: 30px;
  font-size: 16px;
}

.nav a:hover {
  background-color: #fff;
  color: #333;
}

.nav a::before {
  vertical-align: middle;
  padding-right: 5px;
}
.navbar-brand {
  padding: 0;
}
@media screen and (max-width: 991px) {
  .nav li {
    float: left;
    width: 20%;
  }
}
@media screen and (max-width: 767px) {
  .nav li a {
    font-size: 14px;
    padding-left: 3px;
  }
}
